﻿<Window x:Class="EditorExe.StepRequestDialogs.RequestParameters"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:EditorExe="clr-namespace:EditorExe"
        xmlns:ExpressionTreeLib="clr-namespace:ExpressionTreeLib;assembly=ExpressionTreeLib"
        Title="Please input parameters" Height="281" Width="600" WindowStyle="ToolWindow">
    <Window.Resources>
        <EditorExe:ValueTypeConverter x:Key="typeTypeConverter" TypeConverterType="{x:Type ExpressionTreeLib:TypeTypeConverter}" />
    </Window.Resources>
    <Grid>
        <DataGrid AutoGenerateColumns="False" Margin="12,12,12,34" Name="dataGrid1">
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Path=Name}" Header="Name" MinWidth="40" />
                <DataGridTextColumn Binding="{Binding Path=DataType, Converter={StaticResource typeTypeConverter}}" Header="Data Type" MinWidth="100" />
            </DataGrid.Columns>
        </DataGrid>
        <Button Content="OK" Margin="0,0,12,7" Name="button1" Height="23" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" Click="button1_Click" />
    </Grid>
</Window>
